﻿/*****************************************************************
// Copyright (C)
// All rights reserved.
// 
// Author:       WYQ
// Create Date:  2012-8-2 9:53:13
// Usage: 持久化模型
*****************************************************************/
using System;
using System.ComponentModel.DataAnnotations;


namespace Portal
{

    [Serializable]
    public partial class User:Entity,IUser
    {   
    
    
        [StringLength(255, ErrorMessage = "'Name'字符过长")]
        public virtual string Name {get;set;}
        
    
    
        [StringLength(255, ErrorMessage = "'Culture'字符过长")]
        public virtual string Culture {get;set;}
        
    
    
        [StringLength(255, ErrorMessage = "'Account'字符过长")]
        public virtual string Account {get;set;}
        
    
    
        [StringLength(255, ErrorMessage = "'Password'字符过长")]
        public virtual string Password {get;set;}
        
    
    
        [StringLength(255, ErrorMessage = "'Code'字符过长")]
        public virtual string Code {get;set;}
        
    
    
        [StringLength(255, ErrorMessage = "'RoleId'字符过长")]
        public virtual string RoleId {get;set;}
        
    
    
        [StringLength(255, ErrorMessage = "'CategoryId'字符过长")]
        public virtual string CategoryId {get;set;}
        
    
    
        public virtual DateTime LastAccessTime {get;set;}
        
    
    
        public virtual long Level {get;set;}
        
    
    
        [StringLength(255, ErrorMessage = "'LevelFlagImage'字符过长")]
        public virtual string LevelFlagImage {get;set;}
        
    }
   }



